<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page import="java.util.List"%>
<%@ page import="com.neuedu.model.Food"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html>
<html>
<head>
<title>我的文章</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords"
	content="Great Taste Responsive web template, Bootstrap Web Templates, Flat Web Templates, Android Compatible web template, 
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson, Motorola web design" />
<script type="application/x-javascript">
	 addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
		function hideURLbar(){ window.scrollTo(0,1); } 
</script>
<!-- //for-mobile-apps -->
<link href="${pageContext.request.contextPath}/pages/css/bootstrap.css" rel="stylesheet" type="text/css"
	media="all" />
<link href="${pageContext.request.contextPath}/pages/css/style1.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="${pageContext.request.contextPath}/pages/js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
	href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,700,700italic,800,800italic'
	rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Great+Vibes'
	rel='stylesheet' type='text/css'>
<link
	href='https://fonts.googleapis.com/css?family=Comfortaa:400,300,700'
	rel='stylesheet' type='text/css'>
</head>
<body>

	<!-- banner-body -->
	<div class="banner-body">
		<div class="container">
			<div class="banner-body-content">
				<div class="col-xs-3 banner-body-left">
					<div class="logo">
						<h1>
							<a href="index.jsp">Great <span>Taste</span></a>
						</h1>
					</div>
					<div class="top-nav">
						<nav class="navbar navbar-default">
							<!-- Brand and toggle get grouped for better mobile display -->
							<div class="navbar-header">
								<button type="button" class="navbar-toggle collapsed"
									data-toggle="collapse"
									data-target="#bs-example-navbar-collapse-1">
									<span class="sr-only">Toggle navigation</span> <span
										class="icon-bar"></span> <span class="icon-bar"></span> <span
										class="icon-bar"></span>
								</button>
							</div>

							<!-- Collect the nav links, forms, and other content for toggling -->
							<div class="collapse navbar-collapse nav-wil"
								id="bs-example-navbar-collapse-1">
								<nav class="stroke">
									<ul class="nav navbar-nav">
										<li><a href="${pageContext.request.contextPath}/Personal/findUser.do?userNo=${INDEX_LOGIN.userNo}"><i class="home"></i>我的资料</a></li>
										<li class="active"><a href="#"
											class="hvr-underline-from-left"><i class="text-size1"></i>我的文章</a></li>
										<li><a href="My_collection.jsp"
											class="hvr-underline-from-left"><i class="picture1"></i>我的收藏</a></li>
										<li><a href="My_comments.jsp"
											class="hvr-underline-from-left"><i class="edit1"></i>我的评论</a></li>

									</ul>
								</nav>
							</div>
							<!-- /.navbar-collapse -->
						</nav>
					</div>
				</div>
				<div class="col-xs-9 banner-body-right">
					<div class="wmuSlider example1">
						<div class="wmuSliderWrapper">
							<article style="position: absolute; width: 100%; opacity: 0;">
								<div class="banner-wrap">
									<div class="banner"></div>
								</div>
							</article>
							<article style="position: absolute; width: 100%; opacity: 0;">
								<div class="banner-wrap">
									<div class="banner1"></div>
								</div>
							</article>
							<article style="position: absolute; width: 100%; opacity: 0;">
								<div class="banner-wrap">
									<div class="banner2"></div>
								</div>
							</article>
						</div>
					</div>
					<script src="${pageContext.request.contextPath}/pages/js/jquery.wmuSlider.js"></script>
					<script>
						$('.example1').wmuSlider();
					</script>
					<div class="banner-bottom">
						<div class="col-md-4 banner-left">
							<div class="col-xs-3 banner-left1">
								<div class="banner-left11">
									<span> </span>
								</div>
							</div>

							<div class="col-xs-9 banner-right1">
								<a href="${pageContext.request.contextPath}/IndexWeb/findIndex.do"><h3>返回首页</h3></a>
							</div>
							<div class="clearfix"></div>
						</div>


						<div class="col-md-4 banner-left">
							<div class="col-xs-3 banner-left1">
								<div class="banner-left22">
									<span> </span>
								</div>
							</div>
							<div class="col-xs-9 banner-right1">
								<a href="${pageContext.request.contextPath}/pages/Add_article.jsp">
									<h3>添加菜谱</h3>
								</a>
							</div>
							<div class="clearfix"></div>

						</div>

						<div class="col-md-4 banner-left">
							<div class="col-xs-3 banner-left1">
								<div class="banner-left33">
									<span> </span>
								</div>
							</div>
							<div class="col-xs-9 banner-right1">
								<a href="#"><h3>美食制作</h3></a>
							</div>
							<div class="clearfix"></div>
						</div>

						<div class="clearfix"></div>
					</div>
				</div>
				<div class="clearfix"></div>
				<div class="col-xs-3 banner-body-left"></div>

				<div class="col-xs-9 banner-body-right">
					<div class="gallery-head">
						<a href="#">
							<h5>我的文章</h5>
						</a>
					</div>
					<div class="blog">
					<c:forEach items="${userArticle}" var="userArticle">
						<div class="blog-grid">
							<div class="col-xs-4 blog-grid-left">
								<a href="single.jsp"><img src="${pageContext.request.contextPath}/pages/${userArticle.foodImg}" 
								style="height:150px;width:200px"
								alt=" "
									class="img-responsive" /></a>
							</div>
							
							<div class="col-xs-8 blog-grid-right">
								<h4>
									<a href="single.jsp">${userArticle.foodName}</a>
								</h4>
								<p>发布时间：${userArticle.publishTime}</p>
								<p>状态：${userArticle.state}</p>
								<a href="${pageContext.request.contextPath}/Personal/findFoodById.do?foodNo=${userArticle.foodNo}"><span
									class="glyphicon glyphicon-play-circle" aria-hidden="true"></span></a>
							</div>
							
							<div class="clearfix"></div>
						</div>
					</c:forEach>
					</div>
					
				</div>
				<div class="clearfix"></div>
				<div class="footer">
					<div class="footer-left">
						<ul>
							<li><a href="#">Privacy Policy</a>|</li>
							<li><a href="#">Terms of Use</a>|</li>
							<li><a href="mail.jsp">Contact Us</a></li>
						</ul>
						<p>
							Copyright &copy; 2016.Company name All rights reserved.More
							Templates <a href="http://www.cssmoban.com/" target="_blank"
								title="模板之家">模板之家</a> - Collect from <a
								href="http://www.cssmoban.com/" title="网页模板" target="_blank">网页模板</a>
						</p>
					</div>
					<div class="footer-right">
						<ul class="social-nav model-3">
							<li><a href="#" class="icon icon-border facebook"></a></li>
							<li><a href="#" class="icon icon-border twitter"></a></li>
							<li><a href="#" class="icon icon-border googleplus"></a></li>
							<li><a href="#" class="icon icon-border github"></a></li>
							<li><a href="#" class="icon icon-border rss"></a></li>
						</ul>
					</div>
					<div class="clearfix"></div>
				</div>
			</div>
		</div>
	</div>
	<!-- //banner-body -->
	<!-- for bootstrap working -->
	<script src="${pageContext.request.contextPath}/pages/js/bootstrap.js"></script>
	<!-- //for bootstrap working -->
</body>
</html>